package com.qk.enums;

/**
 *
 * @author lyl
 * @created 2025/10/10 16:56
 * @description
 *
 */

public enum LoginEnum implements  Code{
    USER_NOT_EXIST(10002, "用户不存在"),
    USER_PASSWORD_ERROR(10003, "用户密码错误"),
    USER_STATUS_ERROR(10004, "该用户已禁用");

    private final Integer code;
    private final String msg;

    LoginEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
